package com.burgeon.backend.SHOP.service;

import com.burgeon.backend.SHOP.entity.BargainBean;
import com.burgeon.backend.SHOP.entity.BargainOrder;
import com.burgeon.backend.SHOP.entity.BargainVO;
import com.burgeon.backend.SHOP.entity.PayData;
import com.burgeon.backend.SHOP.service.ex.OrderExceptionApp;

import java.util.HashMap;
import java.util.List;

public interface BargainService {

    HashMap getMailFee(String barid);

    BargainOrder bargainOrderData(String barid);

    HashMap showStore(String longitude,String latitude,String token);

    PayData submitBargain(String barid, String type, String aid, String store,String distance, String phone, String date, String uid, String openid,
                          String phoneZT, String nameZT, String token,String comment) throws OrderExceptionApp;

    HashMap hewBargain(String brid,String uid,String token) throws OrderExceptionApp;

    BargainVO getBargainItem(String brid, String token);

    HashMap createBargain(String barid, String uid,String phone,String openid, String code,
                          String type,String token) throws OrderExceptionApp;

    List<BargainBean> showBargainList(String uid,String token);
}
